package com.itboye.jigongbao.bean;

import java.io.Serializable;

/**
 * LoginInfo
 * <p>
 * Created by Mr.w on 2017/12/11.
 * <p>
 * 版本      ${version}
 * <p>
 * 修改时间
 * <p>
 * 修改内容
 */


public class ConfigInfo implements Serializable{


    /**
     * tel : 400-863-9156
     * name :  XXX
     */

    private CustomerPhoneEntity customer_phone;
    /**
     * customer_phone : {"tel":"400-863-9156","name":" XXX"}
     * android_version : 1000
     * app_download_url : https://apidev.itboye.com/appdownload.php
     * android_update_log : 最新版本 1.0.0
     1. 性能优化
     2. bug修复

     * android_pay_type : {"1":"支付宝支付","2":"微信支付","3":"余额支付"}
     */

    private String android_version;
    private String app_download_url;
    private String android_update_log;

    public CustomerPhoneEntity getCustomer_phone() {
        return customer_phone;
    }

    public void setCustomer_phone(CustomerPhoneEntity customer_phone) {
        this.customer_phone = customer_phone;
    }

    public String getAndroid_version() {
        return android_version;
    }

    public void setAndroid_version(String android_version) {
        this.android_version = android_version;
    }

    public String getApp_download_url() {
        return app_download_url;
    }

    public void setApp_download_url(String app_download_url) {
        this.app_download_url = app_download_url;
    }

    public String getAndroid_update_log() {
        return android_update_log;
    }

    public void setAndroid_update_log(String android_update_log) {
        this.android_update_log = android_update_log;
    }

    /**
     * 1 : 支付宝支付
     * 2 : 微信支付
     * 3 : 余额支付
     */

//    private AndroidPayTypeEntity android_pay_type;

    public static class CustomerPhoneEntity {
        private String tel;
        private String name;

        public void setTel(String tel) {
            this.tel = tel;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTel() {
            return tel;
        }

        public String getName() {
            return name;
        }

        @Override
        public String toString() {
            return "CustomerPhoneEntity{" +
                    "tel='" + tel + '\'' +
                    ", name='" + name + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "LoginInfo{" +
                "customer_phone=" + customer_phone +
                ", android_version='" + android_version + '\'' +
                ", app_download_url='" + app_download_url + '\'' +
                ", android_update_log='" + android_update_log + '\'' +
                '}';
    }
}
